import http from "@/utils/http";

// 登录
export const LoginWxMinSimple = (phoneNumber) => {
    return http({
        url: '/login/wxMin/simple',
        method: 'post',
        data: {
            phoneNumber
        }
    })
}

//获取会员信息
export const getMemberProfile = (data) => {
    return http({
        url: '/member/profile',
        data
    })
}

// 修改个人信息  /member/profile
export const putMemberProfile = (data) => {
    return http({
        url: '/member/profile',
        method: 'put',
        data
    })
}